package com.alks.function.data.request.biocontrol.webwork;

import com.alks.entity.data.page.PageParam;
import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author MS
 * @since 2024/12/4下午2:27
 */
@Data
public class ProdOutRequest extends PageParam {

    @ApiModelProperty(value = "工厂名称")
    private String vendorName;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "发票号")
    private String invoiceNo;

    @ApiModelProperty(value = "货柜号")
    private String containerNo;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "出库日期始")
    private LocalDateTime collectTimeStart;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "出库日期末")
    private LocalDateTime collectTimeEnd;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "交期始")
    private LocalDateTime deliveryDateStart;

    @JsonDeserialize(using = LocalDateTimeDeserialize.class)
    @ApiModelProperty(value = "交期末")
    private LocalDateTime deliveryDateEnd;

    @ApiModelProperty(value = "排序字段")
    private String orderFile;

    @ApiModelProperty(value = "0.倒序 1.正序")
    private Integer orderType;

}
